-
Home
-
AI Power: Complete AI Pack
-
1.7.50
-
Code
-
Classes
- WPAICG_OpenAI
Total Complexity |
60 |
Dependencies |
2 |
Dependents |
15 |
Total lines |
417 |
Lines of code |
268 |
Logical lines of code |
153 |
Comment lines |
35 |
Methods |
37 |
Properties |
7 |
Methods 37
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sendRequest() |
A |
46 |
8 |
41 |
openai() |
S |
52 |
5 |
22 |
completion() |
S |
60 |
4 |
13 |
chat() |
S |
60 |
4 |
13 |
create_body_for_file() |
S |
54 |
3 |
20 |
create_body_for_audio() |
S |
55 |
3 |
18 |
get_instance() |
S |
72 |
2 |
6 |
filterCurlForStream() |
S |
65 |
2 |
9 |
complete() |
S |
69 |
1 |
6 |
createFineTune() |
S |
75 |
1 |
4 |
listFiles() |
S |
75 |
1 |
4 |
listModels() |
S |
75 |
1 |
4 |
setTimeout() |
S |
81 |
1 |
3 |
embeddings() |
S |
75 |
1 |
4 |
engine() |
S |
75 |
1 |
4 |
engines() |
S |
75 |
1 |
4 |
deleteFineTune() |
S |
72 |
1 |
5 |
listFineTuneEvents() |
S |
72 |
1 |
5 |
cancelFineTune() |
S |
72 |
1 |
5 |
retrieveFineTune() |
S |
72 |
1 |
5 |
listFineTunes() |
S |
75 |
1 |
4 |
deleteFile() |
S |
72 |
1 |
5 |
setResponse() |
S |
81 |
1 |
3 |
retrieveFileContent() |
S |
72 |
1 |
5 |
retrieveFile() |
S |
72 |
1 |
5 |
uploadFile() |
S |
75 |
1 |
4 |
retrieveModel() |
S |
72 |
1 |
5 |
classification() |
S |
75 |
1 |
4 |
answer() |
S |
75 |
1 |
4 |
search() |
S |
69 |
1 |
6 |
createImageVariation() |
S |
74 |
1 |
4 |
imageEdit() |
S |
74 |
1 |
4 |
image() |
S |
74 |
1 |
4 |
createEdit() |
S |
75 |
1 |
4 |
translations() |
S |
75 |
1 |
4 |
transcriptions() |
S |
75 |
1 |
4 |
moderation() |
S |
75 |
1 |
4 |